package com.example.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.springbootinit.domain.User;

import java.util.List;
import java.util.Optional;


/**
* @author sxt-xy
* @description 针对表【user】的数据库操作Service
* @createDate 2025-03-18 21:26:47
*/
public interface UserService extends IService<User> {
        public Optional<User> selectById(Long id) ;

        public Optional<List<User>> selectList();

        public boolean insert(User user);


}
